package com.jztchat.repository;


import com.jztchat.entity.ChatRecord;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * Created by zzy on 2018/1/19.
 */
public interface ChatRecordRepository extends JpaRepository<ChatRecord,String> {

    List<ChatRecord> findByTargetUserAndIsSend(String target, Integer isSend);
}
